
import request from '@/utils/request'




// 查询报价明细
export function getofferAndcase(query) {
  return request({
    url: '/offer/list',
    method: 'get',
    params: query
  })
}

// 查询详细
export function getofferAndcaseById(seriesId) {
  return request({
    url: '/offer/offer/' + seriesId,
    method: 'get'
  })
}


// 删除报价明细
export function deloffer(id) {
  return request({
    url: '/offer/' + id,
    method: 'delete'
  })
}
  
  // 查询pdf详细
export function getpdf(id) {
  return request({
    url: '/offer/listpdf/' + id,
    method: 'get'
  })
}
//新增报价单状态
export function addquotedStates(data) {
  return request({
    url: '/quoted/add',
    method: 'post',
    data: data
  })
}
